package com.microblogforsim.model;

import java.io.Serializable;
import java.util.List;

public class Topic implements Serializable {


    @Override
    public String toString() {
        return "Topic{" +
                "total=" + total +
                ", per_page=" + per_page +
                ", current_page=" + current_page +
                ", last_page=" + last_page +
                ", data=" + data +
                '}';
    }

    /**
     * total : 41
     * per_page : 10
     * current_page : 1
     * last_page : 5
     * data : [{"_id":59,"topic":"那些让你惊艳的天空","openid":"15616516","time":"20-07-27 05:21:14","hot":78,"join":25,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":61,"topic":"什么时候开学","openid":"15616516","time":"20-08-04 10:20:13","hot":53,"join":31,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":63,"topic":"仙女姐姐","openid":"15616516","time":"20-08-04 02:05:31","hot":30,"join":14,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":67,"topic":"今年好热哦！！","openid":"15616516","time":"20-08-04 07:11:26","hot":28,"join":12,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":73,"topic":"甜甜的恋爱什么时候才轮到我呢","openid":"15616516","time":"20-08-15 01:30:47","hot":24,"join":6,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":65,"topic":"东软男神","openid":"15616516","time":"20-08-04 02:14:44","hot":20,"join":12,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":79,"topic":"开学","openid":"15616516","time":"20-08-19 01:58:04","hot":19,"join":16,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":66,"topic":"告白","openid":"15616516","time":"20-08-04 07:07:49","hot":18,"join":10,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":72,"topic":"最美东软","openid":"15616516","time":"20-08-15 01:19:48","hot":13,"join":5,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]},{"_id":69,"topic":"我","openid":"15616516","time":"20-08-15 12:35:49","hot":12,"join":5,"user":[{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]}]
     */

    private int total;
    private int per_page;
    private int current_page;
    private int last_page;
    /**
     * _id : 59
     * topic : 那些让你惊艳的天空
     * openid : 15616516
     * time : 20-07-27 05:21:14
     * hot : 78
     * join : 25
     * user : [{"id":15616516,"userName":"极樂","realName":null,"isEnabled":1,"nickName":"162","img":"https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132","sex":2,"regTime":"2020-09-13","loginTime":165,"updateTime":5,"isCheck":0,"like":0,"liked":0,"sign":"165s","home":"asd","major":"信息工程","pwd":"123","phone":"1234","email":"5725@qq.com","openid":"15616516"}]
     */

    private List<DataBean> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPer_page() {
        return per_page;
    }

    public void setPer_page(int per_page) {
        this.per_page = per_page;
    }

    public int getCurrent_page() {
        return current_page;
    }

    public void setCurrent_page(int current_page) {
        this.current_page = current_page;
    }

    public int getLast_page() {
        return last_page;
    }

    public void setLast_page(int last_page) {
        this.last_page = last_page;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean  implements Serializable{
        private int _id;
        private String topic;
        private String openid;
        private String time;
        private int hot;
        private int join;

        @Override
        public String toString() {
            return "DataBean{" +
                    "_id=" + _id +
                    ", topic='" + topic + '\'' +
                    ", openid='" + openid + '\'' +
                    ", time='" + time + '\'' +
                    ", hot=" + hot +
                    ", join=" + join +
                    ", user=" + user +
                    '}';
        }

        /**
         * id : 15616516
         * userName : 极樂
         * realName : null
         * isEnabled : 1
         * nickName : 162
         * img : https://thirdwx.qlogo.cn/mmopen/vi_32/LP5C9RHNibx9GibFe4ITwSwSVpAkRicxBEPNeCV5j4yaScUOWkjdE8zKKqtScyPeiaKQGM2h1RS9eZMfNFR3P8mY1Q/132
         * sex : 2
         * regTime : 2020-09-13
         * loginTime : 165
         * updateTime : 5
         * isCheck : 0
         * like : 0
         * liked : 0
         * sign : 165s
         * home : asd
         * major : 信息工程
         * pwd : 123
         * phone : 1234
         * email : 5725@qq.com
         * openid : 15616516
         */

        private List<UserBean> user;

        public int get_id() {
            return _id;
        }

        public void set_id(int _id) {
            this._id = _id;
        }

        public String getTopic() {
            return topic;
        }

        public void setTopic(String topic) {
            this.topic = topic;
        }

        public String getOpenid() {
            return openid;
        }

        public void setOpenid(String openid) {
            this.openid = openid;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public int getHot() {
            return hot;
        }

        public void setHot(int hot) {
            this.hot = hot;
        }

        public int getJoin() {
            return join;
        }

        public void setJoin(int join) {
            this.join = join;
        }

        public List<UserBean> getUser() {
            return user;
        }

        public void setUser(List<UserBean> user) {
            this.user = user;
        }

        public static class UserBean  implements Serializable{
            private int id;
            private String userName;
            private Object realName;
            private int isEnabled;
            private String nickName;
            private String img;
            private int sex;
            private String regTime;
            private int loginTime;
            private int updateTime;
            private int isCheck;
            private int like;
            private int liked;
            private String sign;
            private String home;
            private String major;
            private String pwd;
            private String phone;
            private String email;
            private String openid;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public Object getRealName() {
                return realName;
            }

            public void setRealName(Object realName) {
                this.realName = realName;
            }

            public int getIsEnabled() {
                return isEnabled;
            }

            public void setIsEnabled(int isEnabled) {
                this.isEnabled = isEnabled;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public int getSex() {
                return sex;
            }

            public void setSex(int sex) {
                this.sex = sex;
            }

            public String getRegTime() {
                return regTime;
            }

            public void setRegTime(String regTime) {
                this.regTime = regTime;
            }

            public int getLoginTime() {
                return loginTime;
            }

            public void setLoginTime(int loginTime) {
                this.loginTime = loginTime;
            }

            public int getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(int updateTime) {
                this.updateTime = updateTime;
            }

            public int getIsCheck() {
                return isCheck;
            }

            public void setIsCheck(int isCheck) {
                this.isCheck = isCheck;
            }

            public int getLike() {
                return like;
            }

            public void setLike(int like) {
                this.like = like;
            }

            public int getLiked() {
                return liked;
            }

            public void setLiked(int liked) {
                this.liked = liked;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }

            public String getHome() {
                return home;
            }

            public void setHome(String home) {
                this.home = home;
            }

            public String getMajor() {
                return major;
            }

            public void setMajor(String major) {
                this.major = major;
            }

            public String getPwd() {
                return pwd;
            }

            public void setPwd(String pwd) {
                this.pwd = pwd;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getOpenid() {
                return openid;
            }

            public void setOpenid(String openid) {
                this.openid = openid;
            }
        }
    }
}
